package main

import (
	"gee"
)

func main() {
	r := gee.New()
	r.GET("/", func(c *gee.Context) {
		c.Html(200, "<h1>hello gee</h1>")
	})

	r.POST("/login", func(c *gee.Context) {
		c.Json(500, gee.H{
			"username": c.Form("username"),
			"password": c.Form("password"),
		})
	})

	r.Run(":8001")
}
